<?	$aRoles = explode( "," , $this->oUserSession->getRol( $this->cModule ) ) ;
if (   in_array( 1, $aRoles)   ||  in_array( 2, $aRoles)   ) {
$this->aAcciones[ALINEACION_TOP]	= array ( "cNombre" => "Consultar casos de uso", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "abc_a.gif", "ncModo" => 1 );
$this->aAcciones[CONSULTAR_GENERICO]	= array ( "cNombre" => "Contenido", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "abc_t.gif", "ncModo" => 1 );
$this->aAcciones[AGREGAR_GENERICO]	= array ( "cNombre" => "Agregar", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[MODIFICAR_GENERICO]	= array ( "cNombre" => "Modificar", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ELIMINAR_GENERICO]	= array ( "cNombre" => "Eliminar", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[VER_DOCUMENTACION]	= array ( "cNombre" => "Ver documentacion de una accion", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ayuda.gif", "ncModo" => 4, "nMaxTask" => 1 );
}
if (   in_array( 1, $aRoles)   ) {
$this->aAcciones[ALINEACION_BOTTOM]	= array ( "cNombre" => "Clases", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "abc_c.gif", "ncModo" => 1 );
$this->aAcciones[ALINEACION_LEFT]	= array ( "cNombre" => "Ver", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 4 );
$this->aAcciones[ALINEACION_RIGHT]	= array ( "cNombre" => "Agregar Atributo", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ALINEACION_MAIN]	= array ( "cNombre" => "Eliminar Atributo", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[ESTADO_ACEPTADO]	= array ( "cNombre" => "Modificar Atributo", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ESTADO_RECHAZADO]	= array ( "cNombre" => "Agregar Metodo", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ESTADO_FINALIZADO]	= array ( "cNombre" => "Eliminar Metodo", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[ESTADO_INCOMPLETO]	= array ( "cNombre" => "Modificar Metodo", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[TIPO_CLASE_VARIABLES]	= array ( "cNombre" => "Eliminar Clase", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[TIPO_CLASE_ESPECIAL]	= array ( "cNombre" => "Modificar Clase", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[TIPO_CLASE_DETALLE]	= array ( "cNombre" => "Ver", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 4 );
$this->aAcciones[TIPO_CLASE_CUBOS]	= array ( "cNombre" => "Ver", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 4 );
$this->aAcciones[TIPO_CLASE_PARAMETRICAS]	= array ( "cNombre" => "Agregar Caso Uso", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[TIPO_CLASE_MOVIMIENTOS]	= array ( "cNombre" => "Eliminar Caso de Uso", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[MODIFICAR_CASO_DE_USO]	= array ( "cNombre" => "Modificar Caso de Uso", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[AGREGAR_TERMINO]	= array ( "cNombre" => "Agregar Termino", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ELIMINAR_TERMINO]	= array ( "cNombre" => "Eliminar Termino", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[MODIFICAR_TERMINO]	= array ( "cNombre" => "Modificar Termino", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[CONSULTAR_TERMINOS]	= array ( "cNombre" => "Terminos", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "abc_t.gif", "ncModo" => 4 );
$this->aAcciones[VER_TERMINO]	= array ( "cNombre" => "Terminos", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "", "ncModo" => 4 );
$this->aAcciones[AGREGAR_CLASE_PARAMETRICA]	= array ( "cNombre" => "Agregar Clase", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[VER_CASO_DE_USO]	= array ( "cNombre" => "Caso Uso", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 4 );
$this->aAcciones[CONSULTAR_RELACIONES]	= array ( "cNombre" => "Relaciones", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "abc_r.gif", "ncModo" => 1 );
$this->aAcciones[AGREGAR_RELACION]	= array ( "cNombre" => "Agregar", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "abc_r.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ELIMINAR_RELACION]	= array ( "cNombre" => "Eliminar", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[MODIFICAR_RELACION]	= array ( "cNombre" => "Modificar", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[VER_RELACION]	= array ( "cNombre" => "Ver Relacion", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 4 );
$this->aAcciones[ASIGNAR_ORDENES_A_LAS_CLASES]	= array ( "cNombre" => "Autoasignar Orden", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "engranaje.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[GENERAR_TEMPLATES_DE_CLASES]	= array ( "cNombre" => "Generar Clase", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "engranaje.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[CONSULTAR_ACCIONES]	= array ( "cNombre" => "Acciones", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "abc_a.gif", "ncModo" => 1 );
$this->aAcciones[MODIFICAR_ACCION]	= array ( "cNombre" => "Modificar", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[CONSULTAR_CLASES_DE_UN_ACCION]	= array ( "cNombre" => "Clases de un Accion", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1 );
$this->aAcciones[AGREGAR_ACCION]	= array ( "cNombre" => "Agregar", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ELIMINAR_ACCION]	= array ( "cNombre" => "Eliminar", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[AGREGAR_UNA_CLASE_A_UN_ACCION]	= array ( "cNombre" => "Agregar Clase", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ELIMINAR_UNA_CLASE_A_UN_ACCION]	= array ( "cNombre" => "Eliminar", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[MODIFICAR_UNA_CLASE_A_UN_ACCION]	= array ( "cNombre" => "Modificar", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[VER_ARCHIVO]	= array ( "cNombre" => "Ver Archivo", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "papel.gif", "ncModo" => 4 );
$this->aAcciones[DUPLICAR_UNA_CLASE]	= array ( "cNombre" => "Duplicar", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "copy.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[COPIAR_ATRIBUTOS_DE_OTRA_TABLA]	= array ( "cNombre" => "Copiar Atributos", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "copy.gif", "ncModo" => 2, "nMaxTask" => 2 );
$this->aAcciones[CONSULTAR_SUBMODULOS]	= array ( "cNombre" => "Submodulos", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "abc_s.gif", "ncModo" => 1 );
$this->aAcciones[AGREGAR_UN_SUBMODULO]	= array ( "cNombre" => "Agregar Submodulo", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[MODIFICAR_UN_SUBMODULO]	= array ( "cNombre" => "Modificar Submodulo", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[VER_ACCION]	= array ( "cNombre" => "Ver Accion", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "abc_a.gif", "ncModo" => 4 );
$this->aAcciones[GENERAR_METADATA]	= array ( "cNombre" => "Generar Metadata", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "engranaje.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[CONSULTAR_ARCHIVOS_DE_UN_DIRECTORIO]	= array ( "cNombre" => "Ver Directorio", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "directorio.gif", "ncModo" => 1 );
$this->aAcciones[CONSULTAR_DATOS_DE_UNA_DBF]	= array ( "cNombre" => "Ver", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1 );
$this->aAcciones[VER_ARCHIVO_TEXTO]	= array ( "cNombre" => "Ver", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 4 );
$this->aAcciones[BAJAR_UN_ARCHIVO]	= array ( "cNombre" => "Bajar Archivo", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "disk.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[VER_ARCHIVO_HTML]	= array ( "cNombre" => "Ver HTML", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 4, "nMaxTask" => 1 );
$this->aAcciones[COPIAR_ACCION]	= array ( "cNombre" => "Copiar Accion a otro modulo", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "db_actualizar.gif", "ncModo" => 4, "nMaxTask" => 2 );
$this->aAcciones[ASIGNAR_PERMISOS]	= array ( "cNombre" => "Asignar Permisos", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "persona_check.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[AGREGAR_UN_ACTOR]	= array ( "cNombre" => "Agregar Actor", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ELIMINAR_UN_ACTOR]	= array ( "cNombre" => "Eliminar Actor", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[MODIFICAR_UN_ACTOR]	= array ( "cNombre" => "Modificar Actor", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[CONSULTAR_ACTORES]	= array ( "cNombre" => "Consultar Actores", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1 );
$this->aAcciones[TIPO_CLASE_MENSAJE]	= array ( "cNombre" => "Agregar Clase", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[CONSULTAR_DBDESIGNER]	= array ( "cNombre" => "Consultar DBDesigner", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1 );
$this->aAcciones[AGREGAR_DBDESIGNER]	= array ( "cNombre" => "Agregar DBDesigner", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[MODIFICAR_DBDESIGNER]	= array ( "cNombre" => "Modificar DBDesigner", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ELIMINAR_DBDESIGNER]	= array ( "cNombre" => "Eliminar DBDesigner", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[SINCRO_DBDESIGNER]	= array ( "cNombre" => "designer", "cParametros" => "Comparar Modelo con la base", "ncTipoAccion" => 3, "cIcono" => "db_actualizar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[VER_DBDESIGNER]	= array ( "cNombre" => "Ver Tabla DBDesiner", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 4 );
$this->aAcciones[ELIMINAR_UN_SUBMODULO]	= array ( "cNombre" => "Eliminar Submodulo", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[DUPLICAR_ACCION]	= array ( "cNombre" => "duplicar accion", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "copy.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ELIMINAR_ARCHIVO]	= array ( "cNombre" => "Cambiar SubModulo", "cParametros" => "", "ncTipoAccion" => 2, "cIcono" => "convertir.gif", "ncModo" => 1, "nMaxTask" => 2 );
}
?>